/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package main.entities.actors;

import main.entities.Entity;
import main.environment.IEnvironment;
import main.environment.Location;
import main.environment.Vector;

/**
 *
 * @author williamh
 */
public abstract class AbstractActor extends Entity {
    
    private Location l;
    private Vector v;

    public AbstractActor(String s) {
        super(s);
    }
    
    public abstract void run(IEnvironment e);

    public Location getLocation() {
        return l;
    }

    public void setLocation(Location l) {
        this.l = l;
    }

    public Vector getVector() {
        return v;
    }

    public void setVector(Vector v) {
        this.v = v;
    }
}
